package cn.itsource.user.service;

import cn.itsource.basic.dto.LoginDto;
import cn.itsource.basic.service.IBaseService;
import cn.itsource.basic.util.AjaxResult;
import cn.itsource.user.domain.Logininfo;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2022-09-13
 */
public interface ILogininfoService extends IBaseService<Logininfo> {

    Map<String, Object> accountLogin(LoginDto loginDto);

    AjaxResult wechatLogin(String code);

    AjaxResult wechatBinder(Map<String, String> map);
}
